* trigger update_style_bits() to enable layered windows again
*/
if (impl->suppress_layered == 0)
- gdk_window_set_type_hint (window, gdk_window_get_type_hint (window));
+ _gdk_win32_window_update_style_bits (window);
}
G_OBJECT_CLASS (gdk_win32_gl_context_parent_class)->dispose (gobject);
* disable layered windows by triggering update_style_bits()
*/
if (impl->suppress_layered == 1)
- gdk_window_set_type_hint (window, gdk_window_get_type_hint (window));
+ _gdk_win32_window_update_style_bits (window);
return TRUE;
}
*/
#define SWP_NOZORDER_SPECIFIED HWND_TOP
-static void update_style_bits (GdkWindow *window);
static gboolean _gdk_window_get_functions (GdkWindow *window,
GdkWMFunction *functions);
static HDC _gdk_win32_impl_acquire_dc (GdkWindowImplWin32 *impl);
GDK_NOTE (MISC, g_print ("... GRAVITY: %d\n", geometry->win_gravity));
}
- update_style_bits (window);
+ _gdk_win32_window_update_style_bits (window);
}
static void
return FALSE;
}
- /* Keep this in sync with update_style_bits() */
+ /* Keep this in sync with _gdk_win32_window_update_style_bits() */
/* We don't check what get_effective_window_decorations()
* has to say, because it gives suggestions based on
* various hints, while we want *actual* decorations,
return !has_any_decorations;
}
-static void
-update_style_bits (GdkWindow *window)
+void
+_gdk_win32_window_update_style_bits (GdkWindow *window)
{
GdkWindowImplWin32 *impl = (GdkWindowImplWin32 *)window->impl;
GdkWMDecoration decorations;
if (old_style == new_style && old_exstyle == new_exstyle )
{
- GDK_NOTE (MISC, g_print ("update_style_bits: %p: no change\n",
+ GDK_NOTE (MISC, g_print ("_gdk_win32_window_update_style_bits: %p: no change\n",
GDK_WINDOW_HWND (window)));
return;
}
if (old_style != new_style)
{
- GDK_NOTE (MISC, g_print ("update_style_bits: %p: STYLE: %s => %s\n",
+ GDK_NOTE (MISC, g_print ("_gdk_win32_window_update_style_bits: %p: STYLE: %s => %s\n",
GDK_WINDOW_HWND (window),
_gdk_win32_window_style_to_string (old_style),
_gdk_win32_window_style_to_string (new_style)));
if (old_exstyle != new_exstyle)
{
- GDK_NOTE (MISC, g_print ("update_style_bits: %p: EXSTYLE: %s => %s\n",
+ GDK_NOTE (MISC, g_print ("_gdk_win32_window_update_style_bits: %p: EXSTYLE: %s => %s\n",
GDK_WINDOW_HWND (window),
_gdk_win32_window_exstyle_to_string (old_exstyle),
_gdk_win32_window_exstyle_to_string (new_exstyle)));
*impl->decorations = decorations;
- update_style_bits (window);
+ _gdk_win32_window_update_style_bits (window);
}
static gboolean
g_object_set_data (G_OBJECT (window), "fullscreen-info", NULL);
g_free (fi);
- update_style_bits (window);
+ _gdk_win32_window_update_style_bits (window);
}
}
((GdkWindowImplWin32 *)window->impl)->type_hint = hint;
- update_style_bits (window);
+ _gdk_win32_window_update_style_bits (window);
}
static GdkWindowTypeHint